package com.tarena.lbs.business.dao.repository;

import com.tarena.lbs.business.pojo.param.StoreParam;
import com.tarena.lbs.business.pojo.param.UserLocationParam;
import com.tarena.lbs.business.pojo.query.StoreQuery;
import com.tarena.lbs.business.pojo.vo.StoreVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StoreRepository {

    Integer save(StoreParam param);

    List<StoreVO> select(StoreQuery query);

    List<StoreVO> selectByCityId(Long cityId);

    boolean saveUserLocation(UserLocationParam param);
}
